package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.LuntaiUserTyreMapper;
import com.ruoyi.system.domain.LuntaiUserTyre;
import com.ruoyi.system.service.ILuntaiUserTyreService;

/**
 * tyre 用户轮胎信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-17
 */
@Service
public class LuntaiUserTyreServiceImpl implements ILuntaiUserTyreService 
{
    @Autowired
    private LuntaiUserTyreMapper luntaiUserTyreMapper;

    /**
     * 查询tyre 用户轮胎信息
     * 
     * @param id tyre 用户轮胎信息主键
     * @return tyre 用户轮胎信息
     */
    @Override
    public LuntaiUserTyre selectLuntaiUserTyreById(Integer id)
    {
        return luntaiUserTyreMapper.selectLuntaiUserTyreById(id);
    }

    /**
     * 查询tyre 用户轮胎信息列表
     * 
     * @param luntaiUserTyre tyre 用户轮胎信息
     * @return tyre 用户轮胎信息
     */
    @Override
    public List<LuntaiUserTyre> selectLuntaiUserTyreList(LuntaiUserTyre luntaiUserTyre)
    {
        return luntaiUserTyreMapper.selectLuntaiUserTyreList(luntaiUserTyre);
    }

    /**
     * 新增tyre 用户轮胎信息
     * 
     * @param luntaiUserTyre tyre 用户轮胎信息
     * @return 结果
     */
    @Override
    public int insertLuntaiUserTyre(LuntaiUserTyre luntaiUserTyre)
    {
        return luntaiUserTyreMapper.insertLuntaiUserTyre(luntaiUserTyre);
    }

    /**
     * 修改tyre 用户轮胎信息
     * 
     * @param luntaiUserTyre tyre 用户轮胎信息
     * @return 结果
     */
    @Override
    public int updateLuntaiUserTyre(LuntaiUserTyre luntaiUserTyre)
    {
        return luntaiUserTyreMapper.updateLuntaiUserTyre(luntaiUserTyre);
    }

    /**
     * 批量删除tyre 用户轮胎信息
     * 
     * @param ids 需要删除的tyre 用户轮胎信息主键
     * @return 结果
     */
    @Override
    public int deleteLuntaiUserTyreByIds(Integer[] ids)
    {
        return luntaiUserTyreMapper.deleteLuntaiUserTyreByIds(ids);
    }

    /**
     * 删除tyre 用户轮胎信息信息
     * 
     * @param id tyre 用户轮胎信息主键
     * @return 结果
     */
    @Override
    public int deleteLuntaiUserTyreById(Integer id)
    {
        return luntaiUserTyreMapper.deleteLuntaiUserTyreById(id);
    }

    @Override
    public List<LuntaiUserTyre> selectLuntaiUserTyreList3(LuntaiUserTyre luntaiUserTyre) {
        return luntaiUserTyreMapper.selectLuntaiUserTyreList3(luntaiUserTyre);
    }
}
